<template>
  <!--
    作者：luoyiming
    时间：2020-06-04
    描述：插件中心-积分商城-商品设置-编辑商品-其它
  -->
  <div>
    <div class="common-form">其它</div>
    <el-form-item label="拼团类型" disabled>
      <el-radio-group  v-model="form.teamwork_type">
        <el-radio  :label="1">参团人数</el-radio>
        <el-radio  :label="2">参团订单数</el-radio>
      </el-radio-group>
    </el-form-item>
    
    
    
    <div v-if="form.teamwork_type == 1" >
      <el-form-item label="限购数量 " prop="limit_num" :rules="[{ required: true, message: '请填写限购数量' }]"><el-input disabled type="number" v-model="form.limit_num" class="max-w460"></el-input></el-form-item>
      <el-form-item label="开团人数" prop="assemble_num" :rules="[{ required: true, message: '请填写开团人数' }]"><el-input disabled type="number" v-model="form.assemble_num" class="max-w460"></el-input></el-form-item>
    </div>
    <div v-else>
      <el-form-item label="开团订单数" prop="order_number" :rules="[{ required: true, message: '请填写开团订单数' }]"><el-input disabled type="number" v-model="form.order_number" class="max-w460"></el-input></el-form-item>
    </div>
  </div>
</template>

<script>
export default {
  inject: ['form']
};
</script>

<style></style>
